﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
	// Token: 0x020001D9 RID: 473
	[PrefabRuleAttr]
	internal class UIRawImage_Unvisible : RecordRuleImp<RawImageAssetData, RawImageRecordManager>
	{
		// Token: 0x06000EBE RID: 3774 RVA: 0x00042714 File Offset: 0x00040914
		protected override bool IsOK(RawImageAssetData assetData)
		{
			return assetData.cullTransparentMesh || (double)assetData.initialColor.a > 0.001;
		}
	}
}
